#ifndef __FLASH_H__
#define __FLASH_H__

#include <Arduino.h>
#include "nvs.h"
#include "nvs_flash.h"

/*函数声明*/
#ifdef __cplusplus
extern "C"
{
#endif
   uint8_t Flash_Init(void);
   void Set_Maunal_Open_Atomizer_Flag_To_Flash(uint8_t data);
   void Set_Manual_Open_Fan_Flag_To_Flash(uint8_t data);
   void Get_Maunal_Open_Atomizer_Flag_To_Flash(volatile uint8_t *data);
   void Get_Manual_Open_Fan_Flag_To_Flash(volatile uint8_t *data);
#ifdef __cplusplus
}
#endif

#endif